<?php
/**
 * Matching address 
 */
function smarty_function_IsAddress($param, &$smarty)
{
    return ($_SERVER['REQUEST_URI'] == '/'.$param['url'] ? 1 : 0);
}